<div th:fragment="update-doctor" id="update-doctor" style="display: none">
    <div class="block-header">
        <div class="row">
            <div class="col-lg-7 col-md-6 col-sm-12">
                <h2>Update Doctors
                    <small class="text-muted">Welcome to Compass</small>
                </h2>
            </div>
            <div class="col-lg-5 col-md-6 col-sm-12">
                <ul class="breadcrumb float-md-right">
                    <li class="breadcrumb-item"><a  href="/hospital/index"><i class="zmdi zmdi-home"></i> Compass</a></li>
                    <li class="breadcrumb-item" onclick="backDoctors()"><a href="javascript:void(0);">Doctors</a></li>
                    <li class="breadcrumb-item active"><a href="javascript:void(0);">Update Doctors</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="container-fluid">
        <div class="row clearfix">
            <div class="col-lg-12 col-md-12 col-sm-12">
                <div class="card">
                    <div class="header">
                        <h2><strong>Basic</strong> Information <small>更改信息</small> </h2>
                    </div>
                    <div class="body">
                        <div class="row clearfix">
                            <div class="col-sm-6">
                                <input type="hidden" value="" id="d_id1">
                                <div class="form-group">
                                    <input type="text" class="form-control" id="d_username1" placeholder="请输入用户名，推荐用工号">
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <input type="password" class="form-control" id="d_password1" placeholder="请输入密码">
                                </div>
                            </div>
                        </div>
                        <div class="row clearfix">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <input type="text" class="form-control" id="d_realname1" placeholder="请输入姓名">
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <select class="form-control show-tick" id="d_perms1">
                                    <option value="user">用户</option>
                                    <option value="admin">管理员</option>
                                </select>
                            </div>
                            <div class="col-sm-3">
                                <select class="form-control show-tick" id="d_status1">
                                    <option value="1">启用</option>
                                    <option value="0">禁用</option>
                                </select>
                            </div>

                        </div>
                             <input name="d_filename1" id="d_filename1" type="hidden" value=""/>
                            <div class="col-lg-12 col-md-12 col-sm-12">
                                <form action="/hospital/docotors/upload" id="frmFileUpload1" class="dropzone" method="post" enctype="multipart/form-data">
                                    <div class="dz-message">
                                        <div class="drag-icon-cph"> <i class="material-icons">touch_app</i> </div>
                                        <h3>在这里可以重新上传图片</h3>
                                    </div>
                                    <div class="fallback">
                                        <input name="file" type="file" multiple />
                                    </div>
                                </form>
                            </div>

                        <div class="col-lg-12 col-md-12 col-sm-12">
                            <div class="card">
                                <div class="header">
                                    <h2><strong>原图片：</strong></h2>
                                    <ul class="header-dropdown">
                                        <li class="dropdown"> <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <i class="zmdi zmdi-more"></i> </a>
                                            <ul class="dropdown-menu dropdown-menu-right">
                                                <li><a href="javascript:void(0);">Action</a></li>
                                                <li><a href="javascript:void(0);">Another action</a></li>
                                                <li><a href="javascript:void(0);">Something else</a></li>
                                            </ul>
                                        </li>
                                        <li class="remove">
                                            <a role="button" class="boxs-close"><i class="zmdi zmdi-close"></i></a>
                                        </li>
                                    </ul>
                                </div>
                                <div class="body">
                                    <div id="d_image_show" class="list-unstyled row clearfix">

                                    </div>
                                </div>
                            </div>
                        </div>

                            <div class="col-sm-12">
                                <button type="button" class="btn btn-primary btn-round" onclick="updateDoctor()">确定</button>
                                <button type="button" class="btn btn-default btn-round btn-simple" onclick="backDoctors()">取消</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


